.container {
    width: 1200px;
    margin: 0 auto;
}

.clearfix:after {
    content: "";
    height: 0;
    display: block;
    clear: both;
}

.on{
    background: #FEE44E;
    color:#43240C !important;
}
body {

    background-color: #F6F6F6;

    // 页头
    header {
        background-color: #FFFFFF;

        .container {
            height: 160px;
            margin: 0 auto;

            .logo {
                width: 218px;
                height: 75px;
                float: left;
                margin: 50px 0 0 20px;
                // overflow: hidden;

                a {
                    display: inline-block;

                    img {
                        width: 75px;
                        height: 75px;
                        float: left;
                    }

                    .right {
                        color: #43200C;
                        float: left;
                        margin: 8px 0 0 15px;
                        width: 128px;
                        height: 58px;


                        h3 {
                            font-size: 28px;
                            font-weight: 600;
                            height: 40px;
                            line-height: 40px;
                        }

                        div {
                            display: inline-block;
                            font-size: 12px;
                            line-height: 17px;
                            transform: scale(.8);
                            margin-left: -14px;

                        }
                    }
                }
            }

            .search {
                float: left;
                margin: 49px 0 0 116px;

                .search-wrapper {
                    position: relative;
                    width: 530px;
                    height: 48px;
                    border: 2px solid #43240C;
                    background: url(../img/header-search.png) no-repeat center left 15px/20px 20px;
                    border-radius: 35px;

                    input {
                        position: absolute;
                        width: 347px;
                        height: 43px;
                        border: none;
                        top: 3px;
                        left: 47px;
                        outline: none;
                        font-size: 16px;
                    }

                    .saerchBtn {
                        position: absolute;
                        width: 124px;
                        height: 46px;
                        line-height: 46px;
                        background-color: #FEE44E;
                        font-size: 14px;
                        text-align: center;
                        top: 1px;
                        right: 2px;
                        border-radius: 34px;
                    }
                }
            }

            .clientPromise {
                float: left;
                margin: 41px 0 0 55px;

                ul {
                    color: #877A73;

                    li {
                        position: relative;
                        width: 44px;
                        height: 60px;
                        float: left;
                        margin-right: 24px;
                        text-align: center;

                        img {
                            width: 40px;
                            height: 40px;
                        }

                        p {
                            font-size: 12px;
                            white-space: nowrap;
                            position: absolute;
                            bottom: 0;


                        }
                    }
                }
            }
        }
    }

    // 导航-顶部
    #nav-top {
        height: 46px;
        background-color: #43240C;

        .container {
            margin: 0 auto;

            ul {
                display: flex;

                li {
                    width: 220px;
                    height: 46px;
                    font-size: 16px;
                    line-height: 46px;
                    text-align: center;
                    color: #fff;

                    &:hover {
                        background-color: #FEE44E;
                        color: #43200C;
                        cursor: pointer;

                    }
                }
            }
        }
    }

    // 页面主体
    #main {
        background-color: #F6F6F6;

        .container {
            height: 369px;
            margin: 0 auto;
            display: flex;
            flex-direction: row;

            .sidebar {
                height: 369px;

                >ul {

                    >li {
                        position: relative;
                        width: 220px;
                        height: 41px;
                        line-height: 41px;
                        font-size: 14px;
                        color: #43200C;
                        text-align: center;
                        background-color: #FCF9E3;
                        cursor: pointer;
                        transition: all .3s;

                        &:hover {
                            background-color: #fff;

                        }

                        p {
                            display: inline-block;

                            &:hover {
                                color: red;
                            }
                        }

                        span {
                            display: inline-block;

                        }

                        img {
                            position: absolute;
                            width: 20px;
                            height: 20px;
                            top: 12px;
                            left: 52px;
                            line-height: 41px;

                        }

                        .sidebar-right {
                            position: absolute;
                            width: 186px;
                            padding: 22px;
                            height: 325px;
                            top: 0;
                            right: -230px;
                            background-color: rgba($color: #a7e9ca, $alpha: 0.5);
                            text-align: left;
                            line-height: 18px;
                            display: none;

                            .sidebar-right-item {

                                h4 {
                                    border-bottom: 1px solid #000;

                                    &:hover {
                                        color: red;
                                    }
                                }

                                ul {
                                    width: 186px;
                                    display: flex;

                                    li {
                                        line-height: 22px;
                                        height: 22px;
                                        border-right: none;
                                        margin-left: 3px;
                                        margin-right: 3px;

                                        &:hover {
                                            color: red
                                        }
                                    }
                                }
                            }
                        }

                    }
                }
            }

            .banner-content {
                width: calc(100% - 230px);
                height: 100%;
                background-color: #F6F6F6;
                display: flex;
                justify-content: space-between;
                flex-direction: column;

                .banner-content-top {
                    display: flex;
                    justify-content: space-between;

                    // 轮播
                    .swiper-container {
                        width: 660px;
                        height: 234px;
                        cursor: pointer;


                        .swiper-wrapper {
                            img {
                                width: 100%;
                                height: 100%;
                            }
                        }

                        .swiper-button-prev,
                        .swiper-button-next {
                            color: rgba($color: #f8e9e9, $alpha: 0.8);

                            &:hover {
                                color: rgba($color: #f8e9e9, $alpha: 1.0);

                            }

                        }

                    }

                }
            }

            .bannerLeft {
                position: relative;
                width: 298px;
                height: 234px;
                background-color: #FFF4E4;
                cursor: pointer;
                transition: all .3s;

                &:hover {
                    box-shadow: 3px 5px 15px rgba($color: #8b8787, $alpha: 0.5);

                }


                h3 {
                    position: absolute;
                    font-size: 24px;
                    color: #ff5817;
                    top: 32px;
                    left: 13px;
                }

                img:nth-child(2) {
                    position: absolute;
                    z-index: 3;
                    top: 76px;
                    left: 8px;
                }

                img:nth-child(3) {
                    position: absolute;
                    z-index: 2;
                    height: 134px;
                    bottom: 0;
                    right: 20px;
                }
            }
        }

        .banner-container-bottom {
            width: 100%;
            height: 128px;
            display: flex;
            flex-direction: row;
            justify-content: space-between;

            .banner-container-bottom-item {
                position: relative;
                width: 325px;
                height: 100%;
                padding: 26px 34px 16px;
                color: #fff;
                border-radius: 18px;
                box-sizing: border-box;
                cursor: pointer;
                transition: all .3s;

                &:hover {
                    box-shadow: 3px 5px 15px rgba($color: #8b8787, $alpha: 0.5);

                }



                h3 {
                    font-size: 22px;
                    font-weight: 600;
                    line-height: 29px;
                }

                p {
                    font-size: 18px;
                    line-height: 22px;
                }

                div {
                    width: 47px;
                    height: 20px;
                    line-height: 20px;
                    border-radius: 10px;
                    background-color: #fff;
                    text-align: center;
                    color: #fca6c0;
                    margin-top: 12px;
                }

                img {
                    position: absolute;
                    width: 125px;
                    height: 125px;
                    right: 0;
                    bottom: 0;
                }
            }

            .banner-container-bottom-item:nth-child(1) {
                background: linear-gradient(270deg, #ffd1dd, #fca6c0);
            }

            .banner-container-bottom-item:nth-child(2) {
                background: linear-gradient(270deg, #ffd1dd, #fec07e);
            }

            .banner-container-bottom-QRcode {
                position: relative;
                width: 297px;
                padding: 35px 0 0 34px;
                color: #fff;
                background: linear-gradient(270deg, #e7f5ff, #afdcff);
                border-radius: 8px;
                box-sizing: border-box;
                cursor: pointer;
                transition: all .3s;

                &:hover {
                    box-shadow: 3px 5px 15px rgba($color: #8b8787, $alpha: 0.5);

                }

                p {
                    font-size: 18px;
                    line-height: 24px;
                }

                img {
                    position: absolute;
                    top: 14px;
                    right: 20px;
                    border: 8px solid #afdcff;
                    border-radius: 18px;
                }
            }
        }
    }


    // 小编精选
    #selected {
        background-color: #F6F6F6;
        padding-top: 10px;
        width: 100%;

        .container {
            height: 57px;
            margin: 0 auto;
            background-color: #fff;

            h2 {
                font-size: 18px;
                font-weight: 500;
                display: inline-block;
                margin-left: 52px;
                margin-right: 30px;
                line-height: 56px;

            }

            p {
                display: inline-block;
                font-size: 14px;
                color: #877a73;
            }
        }
    }

    // 商品列表
    #productList {
        background-color: #F6F6F6;

        .container {

            .productList-ul {
                overflow: hidden;

                .productList-li {
                    float: left;
                    width: 276px;
                    height: 389px;
                    margin-left: 16px;
                    margin-right: 5px;
                    margin-top: 20px;
                    overflow: hidden;
                    &:hover {
                        box-shadow: 0 2px 8px 1px rgba($color: #c2bbbb, $alpha: 0.6);
                        transition: all .3s;
                    }

                    .productItem {
                        width: 100%;
                        height: 100%;
                        background-color: #fff;
                        cursor: pointer;

                        

                        .productItem-productPic {
                            img {
                                width: 276px;
                                height: 276px;

                            }
                        }

                        .productItem-productMsg {
                            padding: 10px 17px 17px;
                            box-sizing: border-box;
                            font-size: 14px;
                            color: #877a73;



                            .productItem-productTitle {
                                white-space: nowrap;
                                overflow: hidden;
                                text-overflow: ellipsis;
                            }

                            .productItem-productKeywords {
                                margin-top: 20px;

                                span:nth-child(1) {
                                    box-sizing: border-box;
                                    width: 40px;
                                    height: 20px;
                                    line-height: 20px;
                                    color: #fff;
                                    text-align: center;
                                    background-color: #FF4400;
                                    padding: 2px 6px;

                                }

                                span:nth-child(2) {
                                    float: right;
                                    height: 20px;
                                    line-height: 20px;

                                }
                            }

                            .productItem-productPriceEtc {
                                margin-top: 18px;

                                .productPrice {
                                    color: #fa585a;
                                    margin-right: 2px;

                                    .productPriceTag {
                                        font-size: 12px;
                                    }

                                    .productPriceStrong {
                                        font-size: 28px;
                                    }

                                    .productPriceDigit {
                                        font-size: 18px;
                                    }
                                }

                                .coupon {
                                    width: 50px;
                                    height: 20px;
                                    line-height: 20px;
                                    text-align: center;
                                    color: #fa585a;
                                    border: 1px solid #fa585a;
                                    border-radius: 2px;
                                    float: right;
                                    margin-top: 6px;
                                }
                            }
                        }
                    }
                }
            }

            .viewMoreBtn {
                font-size: 24px;
                font-weight: 500;
                width: 250px;
                line-height: 70px;
                text-align: center;
                background-color: #fee44e;
                border-radius: 35px;
                margin: 126px auto 0;
                margin-bottom: 80px;
                cursor: pointer;
            }

        }
    }

    // 页尾
    #footer {
        background-color: #494949;

        .container {
            overflow: hidden;
            color: #fff;
            height: 240px;

            .footerTop {
                display: flex;
                flex-direction: row;
                align-items: center;
                margin-top: 36px;

                .footerContent {
                    display: flex;
                    flex-direction: row;
                    width: 480px;
                    padding-left: 22px;

                    img {
                        width: 112px;
                        border-radius: 18px;
                    }

                    .footerContentMsg {
                        box-sizing: border-box;
                        width: 180px;
                        height: 115px;
                        padding: 10px 18px;
                        text-align: center;

                        h2 {
                            font-size: 36px;
                            font-family: PingFangSC-Semibold;
                            font-weight: 600;
                            margin-bottom: 10px;
                        }

                        p {
                            font-size: 18px;
                            font-weight: 500;
                            line-height: 25px;
                        }
                    }
                }

                .aboutUs {
                    font-size: 20px;

                    a {
                        color: #fff;
                        font-size: 20px;
                    }
                }
            }

            .footerBottom {
                font-size: 18px;
                width: 750px;
                margin: 0 auto;
                text-align: center;
                margin-top: 47px;

                img {
                    width: 22px;

                }

                span {
                    font-size: 18px;
                }

                a {
                    cursor: pointer;
                    color: #fff;
                    font-size: 18px;


                }

            }
        }
    }

    #footerLast {
        height: 90px;
        width: 100%;
        background-color: #fff;

        img {
            display: block;
            width: 83px;
            height: 30px;
            margin: 4px auto;
        }
    }

    // 回到顶部按钮
    #backToTopBtn {
        position: fixed;
        right: 3%;
        bottom: 30%;
        z-index: 4;

        img {
            width: 60px;
            height: 60px;
            cursor: pointer;
            border-radius: 50%;

        }

    }
}